<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tetris Game: /home/hokan/NetBeansProjects/TetrisGame/headers/CGridBox.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris Game
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Test game project created via Irrlicht and Qt</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_grid_box_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">/home/hokan/NetBeansProjects/TetrisGame/headers/CGridBox.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* </span>
<a name="l00002"></a>00002 <span class="comment"> * File:   CGridBox.h</span>
<a name="l00003"></a>00003 <span class="comment"> * Author: hokan</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Created on 2 Июль 2014 г., 12:42</span>
<a name="l00006"></a>00006 <span class="comment"> */</span>
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef CGRIDBOX_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define CGRIDBOX_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;headers/CGridSceneNode.h&quot;</span>
<a name="l00012"></a>00012 
<a name="l00016"></a><a class="code" href="class_c_grid_box.html">00016</a> <span class="keyword">class </span><a class="code" href="class_c_grid_box.html">CGridBox</a> {
<a name="l00017"></a>00017 <span class="keyword">public</span>:
<a name="l00018"></a>00018     
<a name="l00030"></a>00030     <a class="code" href="class_c_grid_box.html#a64f0746c0a4dd578321746e1c0371a8e">CGridBox</a>(irr::scene::ISceneNode* parent, irr::scene::ISceneManager* smgr, irr::s32 idRight = -1, irr::s32 idLeft = -1, irr::s32 idDown = -1, irr::s32 idFront = -1, irr::s32 idBack = -1);
<a name="l00031"></a>00031     
<a name="l00035"></a>00035     <span class="keyword">virtual</span> <a class="code" href="class_c_grid_box.html#ad270bfc6308d8885b399d5acc23ae7eb">~CGridBox</a>();
<a name="l00036"></a>00036 
<a name="l00042"></a>00042     <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#a98d98ba3c4bd2fc11fae99f32f82173c">setPosition</a>(<span class="keyword">const</span> irr::core::vector3df&amp; newposition);
<a name="l00043"></a>00043     
<a name="l00049"></a>00049     <span class="keyword">const</span> irr::core::vector3df&amp; <a class="code" href="class_c_grid_box.html#a69b6af847b8899e5a065c5cc652cc49c">getPosition</a>() <span class="keyword">const</span>;
<a name="l00050"></a>00050 
<a name="l00056"></a>00056     <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#a6f6e1b178e5252ee0f083ee04b23df49">setColour</a>(irr::video::SColor newcolour);
<a name="l00057"></a>00057 
<a name="l00063"></a>00063     <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#a2dc1ec5ed8bfbee6a612449f37e42a5b">setGridsSize</a>(<span class="keyword">const</span> irr::core::dimension2df&amp; newsize);
<a name="l00064"></a>00064     
<a name="l00070"></a>00070     irr::core::dimension2df <a class="code" href="class_c_grid_box.html#a011376df79e989964bfd5e9cf5272441">getGridsSize</a>() <span class="keyword">const</span>;
<a name="l00071"></a>00071 
<a name="l00077"></a>00077     <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#ac7f778e637dbf3fdcbde84061fb2c837">setSpacing</a>(irr::f32 newspacing);
<a name="l00078"></a>00078     
<a name="l00084"></a>00084     irr::f32 <a class="code" href="class_c_grid_box.html#a5f1e251945c3da02b883708b77405f81">getSpacing</a>() <span class="keyword">const</span>;
<a name="l00085"></a>00085 
<a name="l00086"></a>00086     <span class="comment">// TODO implement</span>
<a name="l00090"></a>00090 <span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#a5e43b21affbaf9de20d2c6c29e21c271">turnOn3DMode</a>();
<a name="l00091"></a>00091     
<a name="l00092"></a>00092     <span class="comment">// TODO implement</span>
<a name="l00096"></a>00096 <span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="class_c_grid_box.html#a3eae3ad3b0b3170f16da6a262768e077">turnOn2DMode</a>();
<a name="l00097"></a>00097 <span class="keyword">private</span>:
<a name="l00098"></a>00098     
<a name="l00102"></a>00102     <a class="code" href="class_c_grid_scene_node.html" title="Grid scene node.">CGridSceneNode</a>* rightGrid;
<a name="l00103"></a>00103     
<a name="l00107"></a>00107     <a class="code" href="class_c_grid_scene_node.html" title="Grid scene node.">CGridSceneNode</a>* leftGrid;
<a name="l00108"></a>00108     
<a name="l00112"></a>00112     <a class="code" href="class_c_grid_scene_node.html" title="Grid scene node.">CGridSceneNode</a>* downGrid;
<a name="l00113"></a>00113     
<a name="l00117"></a>00117     <a class="code" href="class_c_grid_scene_node.html" title="Grid scene node.">CGridSceneNode</a>* frontGrid;
<a name="l00118"></a>00118     
<a name="l00122"></a>00122     <a class="code" href="class_c_grid_scene_node.html" title="Grid scene node.">CGridSceneNode</a>* backGrid;
<a name="l00123"></a>00123 };
<a name="l00124"></a>00124 
<a name="l00125"></a>00125 <span class="preprocessor">#endif  </span><span class="comment">/* CGRIDBOX_H */</span>
<a name="l00126"></a>00126 
</pre></div></div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CGridBox.h</b>      </li>

    <li class="footer">Generated on Sun Jul 6 2014 19:35:11 for Tetris Game by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
